//
//  BTChatBar.h
//  BaiTengIM
//
//  Created by awh on 2019/6/26.
//  Copyright © 2019年 awh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol BTChatBarDelegate;

@interface BTChatBar : UIView

@property (nonatomic, strong) UITextView *textView;

@property(nonatomic, assign) BOOL forbid;

@property(nonatomic, weak) id<BTChatBarDelegate> delegate;
@property(nonatomic,strong)NSMutableDictionary * userDic;
@property(nonatomic,strong)NSMutableArray * idArray;
@property(nonatomic,strong)NSArray * array111;


- (void)clearMoreViewAndSelectedButton;

- (void)clearInputViewText;


-(void)selectedUserWith:(NSMutableDictionary*)userDic Type:(NSInteger)type;
-(void)sendSuccessClearUserdata;
@end

@protocol BTChatBarDelegate <NSObject>

@optional

- (BOOL)inputView:(UITextView *)inputView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text userIdsArray:(NSMutableArray*)userIdsArray;

- (void)inputViewDidChange:(UITextView *)aInputView;

- (void)chatBarDidShowMoreViewAction;

- (void)chatBarPhotoBtnDidClickAction;

- (void)chatBarCameraBtnDidClickAction;

- (void)chatBarBusinessCardDidClickAction;


- (void)chatBarForbidBtnDidClickAction;

- (void)chatBarRecordAudioViewStartRecord;

- (void)chatBarRecordAudioViewStopRecord:(NSString *)path timeLength:(NSInteger)timeLength;

- (void)chatBarRecordAudioViewCancelRecord;

- (void)chatCountdownAnimationWithTime:(NSInteger)time;

@end

NS_ASSUME_NONNULL_END
